package com.enums;

public enum Color {
    //所有的枚举值都是 public static final 的
    RED, GREEN,BLUE;
    //构造函数
    private Color()
    {
        System.out.println("Constructor called for : " + this.toString());
    }

    public void colorInfo()
    {
        System.out.println("Universal Color");
    }
}
